<?php
// +----------------------------------------------------------------------
// | 海豚PHP框架 [ DolphinPHP ]
// +----------------------------------------------------------------------
// | 版权所有 2016~2017 河源市卓锐科技有限公司 [ http://www.zrthink.com ]
// +----------------------------------------------------------------------
// | 官方网站: http://dolphinphp.com
// +----------------------------------------------------------------------
// | 开源协议 ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------

namespace app\member\model;

use think\Model;


class MemberBand extends Model
{

        // 设置当前模型对应的完整数据表名称
        protected $table = '__MEMBER__';

        // 自动写入时间戳
        protected $autoWriteTimestamp = true;
    public static function memberedit($map=[]){
        
            $data_list = self::view('member', true)
                ->view('member_settlement','accountname,bankno,bankname,bankid,bankaddr'
                    ,'member_settlement.memberid=member.id','left')
                ->where($map)
                ->select(false);
        var_dump($data_list);die();
            return $data_list;

    }

}